coffeescript partial fixes