storage.js - add backwards compatibility for old raw stored values