if (window.location.href.indexOf('checkout') > 0) { }

Create New Customer Account