JS error fixes
Make the queue receive proper data