Refactor to generalize layers in worldmap.js.
Merge pull request #16 from hdemers/refactor

Refactor to generalize layers in worldmap.js.