Helpers.js refactored. The Create Post functionality is now in seperate js file.