A better way to treat webSQL