java script GPA calculator for the web