Add ajax json function to save student v2