Moving get current queue js file to queue