Use AJAX to create new posts

@maneyt , @katherineabuhadal 
Also, it probably makes more sense to add the error from JavaScript instead of hardcoding it into the HTML