TypeError: e.indexOf is not a function. (In 'e.indexOf(" ")', 'e.indexOf' is undefined) code example
Example 1: e.indexOf is not a function
$(window).load(function(){...});
replace with the following:
$(window).on('load', function(){ ...});
Example 2: e.indexof is not a function
not assigned a value for Premium Background Transition Widget