fix old bitbucket links + switchdemo to use leaflet