updated js to work post comment in IE10