removed JSHint warnings and added .jshintignore file