Current problems: headers being sent late by some middleware, prevents auth from working;  uglify.js complains about syntax of every file - whats up?