Changing clear_all to non MooTools version