Remove mootools dependency.