added host param to database.js.erb