fix coffeescript compile issues