trying to connect to db in forms-js.js