Update storage of templates
Add signals.js eventing framework
Add EventDispatcher object