Update jstorage.js

prevent js exception in FF3.6. There should be smarter fix than this.