scene2 js fix