Remove wpvars and add them back in, we can't replace objects and affect the global scope.
Generated JS