Update GALocalStorage.js

turned global var into module.exports