For using javascript on server side download either NodeJs, or Deno (both made by same guy) https://nodejs.org/ https://deno.land/