Javascript porting of the "3d Game Engine" made by BennyQBD