Basic CGPA and SGPA calculator using javascript.