Javascript Based GPA Calculator