js: fix double click from firing two events
js: fix double click from firing two events