[HELP] Trouble playing after build

I have build glitch garden for mac os and webGl using unity 5.5f1. When I play the game in the editor it plays through all the levels with no errors, all the music works and level transitions work properly. However when i play either the WebGL build or the mac build both version stop after level 2 is completed and freeze after you won appears on screen. Is there a way to debug whats going on in webGL or OS X?

I checked all the build settings, all the levels are in the build settings. The music is from the glitch website.
Any hints are appreciated.