Fix JS file

Hopefully fixed it that is