Fixed IE8 dateparsing issues
Removed global map variable
Merge pull request #2 from sweco-sejhas/master

LGTM!