A JavaScript Raycasting Engine