hooked js