Bug fixes for web storage demos