Added support for browsers without 3d animations
Added example javascript