moving all style setting to css
event handler on <table>, not on <td>; coffescript version updated