Add hooks to your JavaScript objects