Abstract payment js to work in webform context
Merge pull request #1381 from colemanw/ccJs

Abstract payment js to work in webform context