rewrite some files using coffee script