added support for coffeescript and javascript