Simple JS for creating a puzzle out of an image.