clean up student form index.cshtml so it can call internal functions from within jquery.