fix badly broken javascript
Merge branch 'master' of https://github.com/npazo/nugget