added color to legend.js class, adding and removing of layers.js according to zoom level, problem solved: label displays over marker. Map restores view on refresh.