a simple table system re-written in coffee script