get worldmap.html working
Merge pull request #30 from maxogden/js-fixes

very nice, thank you!