javascript code for grade calculator