             
 
 
-  # Run when app starts listening a port
-  app.on 'listening', ->
-    fn() for fn in runOnListen
 
 
   return app


      # All js code will be shared from here in production
      app.get "/managedjs/production.js", (req, res) ->
        # Cache for a year. Server restarts will reset the cache.
        res.setHeader 'Cache-Control', 'public, max-age=31556926'
        res.send productionClientCode, 'Content-Type': 'application/javascript'


  # Cache for compiled script-tags
  compiledTags = null


  # Array of client-side script names
  try
