Browser storage pollyfill