Made compatible with node.js and added a toString method for the Slipper object.