Migrate to coffeescript & improve UI performance