Fixes JS problems because the DOM is not ready to hide/show forms in checkout process

...ckout process