Issue 1493 - Totals column now showing values and stays persistent

The problem was that when you enter grades, the totals column does not get populated with anything

The issue was a combination javascript and the model grade_entry_student.

In the javascript, we translated it to a js.erb so that it will update the totals column right away when the marks are entered. The grade_entry_student.rb file, I had to take out the attr_accsr attribute because it was causing issues with the value making its way to the database. 

The end result is the total columns being calculated right away as marks are entered and the totals column is persistent even after navigating away from the page
Use `var cell = ...` to prevent possible scoping issues.