imlib.js modification localstorage