3D Collision detection/reaction in three.js