Fixed reload of javascript
Merge pull request #967 from ostcar/fix_projectot_reload

Fixed reload of javascript