moving category geojson script block to document end