Added .jshintrc and formatted some files according to rules