A javascript based hook system.