FrameworkPage: add loadConditionalJS