added .jshintrc and fixed styles.