Only deactivate marker on map click when Modernizr.touch is true.
Cleanup polylines on map before upload, incase of multiple uploads.