Renamed variables to use  jquery object indicators
Syntax spacing fixes.  Changed top to last