Move to JavaCollection.js