Register jquery eventy once
When code is run multiple times and only wants to register an event once using jQuery
JavaScriptStarter template with revealing module pattern
Revealing module pattern is a design pattern, which let you organise your javascript code in modules, and gives better code structure. It gives you power to create public/private variables/methods (using closure), and avoids polluting global scope
JavaScriptMutation observer
The MutationObserver interface provides the ability to watch for changes being made to the DOM tree.
JavaScript