use strict in js file, small fix in js
Merge pull request #37 from Antek88/master

Use strict in js file, small fix in js