Added cross-browser support for getUserMedia

Now works in FF (Tested in 36.0a1) as well as Chrome :)