updates to the hook system
added a hook for javascript tags