Code for seriously.js and web camera