Issue#5

Hi,

This should resolve issue #5. Now we should be able to define a comparator for the Set.

The biggest change is the replacement of the internal Object with an Array (commit 8053a60). That also resolves an issue when adding objects to the Set.

Oh, I did use a plugin that automatically beautifies the javascript. I hope that isn't an issue for you.

Cheers