Add database.js to reuqire