test working of js hooking