removing mootools dependancy