make 3dcube page work on webkit browser