converting old files to coffeescript