remove database.js in both places where it occurs