Rearrange checkout js to disable submit form immediately, also submit data to Google analytics for tracking ecommerce