quad.js

The JavaScript file that contains all of the code I used.