Coffee-Script class compatibility

I notice that coffeescript class is not compatible with Stapes.

I've done some few changes to be able to use the coffeescript classes