Fix jshint error on CreatePostView

Follow up to D413