Edit Post and Comment

JS functions now work for edit post and edit comment.