Setting up web cam API and webots in HTML5