CORE-335 Script error on admin page