manually register the extension hook, fixed #1

* see maxtaco/coffee-script#100