Update o3d.js

Fix setTextures to work with cube map textures correctly.