Got rid of pointInsideTriangle (since we have pointIsInsidePolygon)
Got rid of unused functions
Added lots of comments and generally cleaned up the code
Added alert for when jquery isn't working
Kept my own version of jquery instead of the google one
fixed some issues with the writeup