fixed for mootools 1.5.1

My humble attempt at fixing it for Mootools 1.5.1 and ne new Class.Binds mechanism.
Note, I'm unsure why this.onChange and not this.History.onChange on line 56..
But basically all others this.onChange refered to window, not to this.History, raising an error in firefox and safari