replace magical js2 require with explicit EXPORTS.requireJs2. remove try ... catch in dbAction.