Switching to jQuery for JS event handling.