Update jshint.js

cross plattform compatibility
Update check-build.js

cross plattform compatibility
Merge pull request #2 from PSeitz/master

Windows fix for pwd