[ticket/12062] Fix to allow extensions to use INCLUDEJS in the ACP

PHPBB3-12062