split out queue specific js into a new file