adding onload and onunload methods
Removing templating altogether to support straight DOM methods