localstorage snippet (based on
https://github.com/qmacro/sapui5bin/tree/master/localstorage)