Displaying total in browser