Remove extra space that was throwing an error.
JS now grabbing correct url to post to.