Moved Drupal.commerce_add_to_cart_confirmation.check into a separate function...
requested to merge issue/commerce_add_to_cart_confirmation-3476510:3476510-move-confirmation-javascript-separate into 1.x
Moved Drupal.commerce_add_to_cart_confirmation.check into a separate function inside commerce_add_to_cart_confirmation.js
Closes #3476510