Add JavaScript version

Provide JavaScript function to draw Paley graph; assumes an object paley exists
with fields p and canvas, representing the order of the Paley graph to draw and
an HTML 5 canvas on which to draw it.

Fixes #2