webcam_compare.js updated