Update livedetect.js