start();
function start () {
  'use strict';

  const express = require('express');
  const app = express();

  // app.use(bodyParser.json());
  app.use(express.static('public'));

  const login = require(`${__dirname}/routes/login`);
  app.use('/login', login);
  
  app.listen(process.env.PORT || 8080);
}


(function start() {
    "use strict";

    const express = require("express");
    const login = require(`${__dirname}/routes/login`);
    const app = express();

    app.use(express.static("public"));
    app.use("/login", login);

    app.listen(process.env.PORT || 8080);
}());

Refactor to conform to JSlint
Refactor to conform to JSlint
