Make variable a normal CoffeeScript class so that it can be extended

Sometimes it is necessary to define your own equals function.