Only register if coffeescript.register is present