js hook generation on the fly, inserted in script
just change js hook name