Added basic javascript stuff for depth buffering