refactored location and directions to just directions
refactored google map to load via GoogleMaps API v3 to avoid JavaScript SAMEORIGIN issue