Made Collections.js slightly more readable.