Fixes createPost.js syntax error.
Merge pull request #9 from damncabbage/create-post-syntax

Fixes createPost.js syntax error.