fixed post.js, added helpers, added automated parsing of XML/JSON response