Find out what kind of triangle you've got -- a little JSand jQuery exercise