index.php: 	Redo totals section
app.js: 		Add extra calculations functions