jQuery and Coffeescript code complete, also Cancan.