Added javascript 3d flip.