Wrapped javascript in IIFE, and enabled strict mode.
The map now displays a popup when the corresponding marker is selected in the timeline

Fixes #44