Corrects udpate to update

See title
Cleaning and refactoring of methods / functions

Moves functions from ride.html to ride.js. cleans up code with new
indents and spacing for readability.
Merge branch 'jshenk' of https://github.com/tsquaredp/AgileGroupProject into jshenk

Conflicts:
	createRide.html
	ride.js