feature:js(unregister_hook_handler) Provide a function to unregister a hook handler.

A simple function to unregister a javascript hook handler.
Remove handler in priorities list if exist.