fixed filetype detection, added coffeescript