Update collision_detection.js

Fix for jaws.collide and full documentation of all functions.