JavaScript implementation of Web SQL API