use strict js

and subsequent linting
Merge pull request #5 from minrk/strict-linty

use strict js