Update server.js

Added request to injectable callbacks.