Attempt to make THREE support browserify again.

I really hope to not break everything again.