Removed css hard-coding in ruby file

This should be in a CSS file
Corrected miscoded jQuery

html divs were loaded back within themselves during ajax call