Hooks put in for client side scripting