Add .jshintrc
Switch from CustomEvent to standard event