<?php
// Add the following to your (child) theme's functions.php file
add_action( 'wp_head', function() {
?>
<script>
(function($) {
$(function() {
if ('undefined' !== typeof FWP) {
FWP.loading_handler = function(params) {}
}
});
})(jQuery);
</script>
<?php
}, 100 );