Refactor some JavaScript - issue #14
WMS parameters are externalized into a JSON file