Cleaned up index.html and added distance calculation.
Active evaluation and error checking
Comment out unused mapHandler.js code to speed up execution