 module.exports = (req, res, next) ->
 
   # Attach libraries to locals
-  res.locals._ = _
+  res.locals._ = _s
   res.locals.moment = moment
   res.locals.helpers = helpers
   res.locals[key] = helper for key, helper of templateModules

  res.locals.sd.REQUEST_TIMESTAMP = Date.now()
  res.locals.sd.NOTIFICATION_COUNT = req.cookies?['notification-count']

  next()

uuid = require 'node-uuid'
{ parse, format } = require 'url'
_ = require 'underscore'
_s = require 'underscore.string'
moment = require 'moment'
{ NODE_ENV } = require '../../config'
helpers = require '../template_helpers'
