moved fillCreateQueue function to the right .js file