Handle disparity between node-localStorage and browser