updating grant reading display

#205, #206
html code formatting
define saved var in all cases