adding states attribute back to leaflet, fixes #94