Fix localforage issue on Safari with minified assets