Update ga.js

Altered the way localstorage is called.