Optimized the sidebareffect javascript

Actually is to avoid leaving behind event listeners... the problem is in
safari it doesn't work so well... apparently...
SideBar HUD menu updated

and minor color corrections