A wrapper around the html5 getusermedia api