added coffeescript incrementing for session variables