#37

replace document.domain with localhost before POST