enhanced passing data to graph init
changed $.post to
creating graph from user's markers on distance cryteria and echoing back the shortest path from target to source