switch coffeescript middleware
added scripts to layout
use coffeescript for the front-end too
added compiled coffeescript