undid unintentional changes made somewhere in the prior sequence of merges and re-orginizations
removed unreferenced variable
Merge pull request #1143 from JeffPyeBrook/pr-fix-checkout-ajax

undid unintentional changes made somewhere in the prior sequence of merges and re-organizations