Fixed javascript

I think