Adding the js collection to the frontend route