Scott's fixes for ongoing JQuery errors on staging