changed editor require js