update js to use built-in wc cc form