Simple wrapper for JavaScript localStorage