Safari support

Safari does not support Function.prototype.bind yet, so I replaced it with $.proxy.

It works in Safari now :-)