Example of constructor function in coffeescript