Small optimisation at addon.js

Added mainElement variables to store the DOM element
cleanup blank_addon.html
remove getSession event from blank_addon.html
WIP at AceAddon update function