add baseurl to getLayerJSON() ajax request [take two]