Use the official localStorage api