Merge pull request #127 from Noahhh/master

Added .trim in JS to remove whitespace around body and url