Update DataBridge.js

Added db var