Remove lodash as we really do not use it. Add CORS support checking.