Changed to shorthand ajax using post.