Confirmed error in my code, file works with WebGLRenderer