Implement #48741: load js files at end of html
Feature #48742: Use jQuery document ready loading if configured