var express = require('express');
var app = express();
var routes = require('./routes');
//var http = require('http');
var path = require('path');
var methodOverride = require('method-override');


// app.set('view engine', 'jade');

// Using the .html extension instead of
// having to name the views as *.ejs
// app.engine('.html', require('ejs').__express);
app.engine('.html', require('ejs').renderFile);

// Set the folder where the pages are kept
// app.set('views', path.join(__dirname, 'views'));

// This avoids having to provide the 
// extension to res.render()
app.set('view engine', 'html');


//app.use(express.favicon());
app.use(express.logger('dev'));
app.use(express.urlencoded());
app.use(methodOverride('X-HTTP-Method-Override'));
app.use(app.router);
app.use(express.static(path.join(__dirname, 'public')));


// development only
if ('development' == app.get('env')) {
	app.use(express.errorHandler());
}
app.use('/', routes.root);
// app.use('/141022_react/', routes.react);
// app.use('/140811_auto/', routes.auto);
// app.use('/140610_doc/', routes.doc);
// app.use('/140415_wd/', routes.wd);
// app.use('/140217_epic/', routes.epic);

//app.use('/', routes.home);
//app.use('/', routes.react);
//app.get('/read', routes.read);
app.listen(process.env.PORT || 3000);
@@ -822,16 +822,124 @@
 ic')));%0A
+app.use(express.static(path.join(__dirname, 'css')));%0Aapp.use(express.static(path.join(__dirname, 'js')));%0A%0A
 %0A%0A// dev

Add app.use(express.static(path.join(__dirname, 'js'))); in app.js