Added jshint and CustomEvent