Modifications to make a inroads on the removal of jQuery.