Update GeoDataCollection.js

forgot to check it is defined.