Make restore purchases event listener global, not constrained to #products