Bug fix and comments

1) Fixed bug related to opening infoboxes in correct order
2) Added comments to potholes.js
3) Minor refactoring inside JS functions
4) Renamed createPothole as createMarker (more accurate name)