VID-1482 changing js to script