Datatypes get called from the database, so the full database is now available from the javascript wrapper