AMD specific module for localstorage