fixed shitty javascript
Merge pull request #3 from anlutro/javascript

fixed shitty javascript