100% JavaScript implementation of Web SQL API