translated some files to coffee script. because coffee.