MDL-33887 delay string fetching in PAGE->requires->string_for_js() till page footer