fix main layout
implement ajax table with coffee script