migrating entirely to coffeescript