fixed some jshint errors
added jshint and jshintrc