fixed for mootools 1.5.1