[ticket/11314] Fix JSHint issues in adm editor.js

This time without changing the behavior.

PHPBB3-11314
[ticket/11314] Modify files to comply with coding standards

PHPBB3-11314