remove trailing  from require.js include
some readability cleanups in session.coffee