adding jshint ignore file, adjusting some jshint configurations, fixing issues with login.js