Thought this demo would be better if it actually HAD a function to detect the collision between two polygons. Also added jQuery and switched paths to be relative so it can run on file://