Javascript document scanning using your webcam