SERVER-13342 add a createCollection() to guard against timeouts in tags.js

(cherry picked from commit b8c7f25613fee7c6bf77dda941589fe367c14385)