Added jshint validation configuration and small changes