fix localstorage cross browser. remove old webgl cruft