Bug 1055498 - [Collection] [Refactor] Clean up create_collection.js