fixed ajax callback issue on client. layers correctly labelled in DOM and top layer is selected by default. Loading screen dissapears when everything has loaded