Update js.js

Fix bug cross-browser triggerm Js.trigger().