Validate checkout on ajax submission. #769
Move jQuery checkout validation to function. #769
Reorganize script loading to ensure functions exist. #769