removed localStorage initialization out of enyo.ready