is undefined" and other errors. Tried clear cache, reseting, everything and nothing worked.
So after 1 and 1/2 hours of investigating I found out it was my browser was corrupting the gzip ( my server compresses ) js file. I turned compression off for js files, cleared my cache and tried again and it worked again. Turned compression on and it worked still.
Found this out viewing the HTTP stream. So just a heads up if anybody else runs into this. Might be the problem.