use memory instead of websql