JS for adding the value to grand total