#91653PageRenderer addJsLibrary and addJsFooterLibrary add the same file multiple times
Description
These two functions contain an invalid (always true) condition before adding the JS to the internal file array.
All other similar functions already hold a correct condition.
I suggest making those API function behave identical – as the current code would suggest already.