added js to syntax