fixes bugs in IE for mootools