Added jshint validation configuration and small changes
Merge pull request #1 from TomTer/master

Added jshint validation configuration and small changes