Change html structure from table to css float divs
Change click handler to correspond new html