add WebSQL plugin and factory