Made the scope of objects global

Objects are on index.html now.
The calendar Playback now can be called with a date string in any
trigger function.

The map isn't getting displayed => to be resolved