Instead of defining your constructor as a variable Bar
that is set to an anonymous function, you can either do this:
function Bar() {}
Or this:
var Bar = function ConstructorNameHere() {};
Where the ConstructorNameHere
name can actually be Bar
again:
var Bar = function Bar() {};
(That should work in Chrome and FF, not sure but not very hopeful about IE.)