simplified css
Removed uneeded div
Added Javascript to update table