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

PHPBB3-12062
Merge pull request #1917 from VSEphpbb/ticket/12062

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