Remove unused JS scripts and load editor script only for the competition edit page.