Fix HTML Element Replacements on Checkout Page Update

* Fix typo in function name
* make sure HTML element replacements are set after meta changes when creating AJAX response
* check success property set by WP json success function
* reference replacements properties though the data property of the response object rather than just the response object
* only call visibility change routine on checkout page