test js 3d cube