Add CoffeeScript mode and small fixes