JS reload of layers after change in settings/styles