add jquery validation.
add validation for new posts.