Hooks and selectors for JavaScript, CSS and happiness