Moved datatables custom sorting functions.
Updated formatting.
Flattened initMap function, changed format to follow google style rules.