Create dbquery.js