Add JS hook for WebWork