completes comment creation using ajax