jQuery is used for:
1. Finding the picture in the DOM.
2. Drawing the rectangles on the faces.
The algorithm in itself is written in a lovely language called JavaScript.
While I appreciate the attention the author brings to liu liu's code, the jquery plugin packaging doesn't add much value.