openDatabase is exported as purejsOpenDatabase