Added .idea to gitignore
Fixed warnings thrown by JSHint