add jquery dependency, remove keycode usage