Embrace the prototyping. And then avoid it by using $.proxy().

Also includes a little syntax catch.