Added error page if tesseract doesn't work, and changed all 'upload' references to post to scan.js'