Test for presence of mapbox library before attempting to use L.mapbox.TileLayer