error.code is not defined, should be error.name per http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-MediaStreamError
change code->name in the text as well
make this into a var
Merge pull request #29 from fippo/error-name

error.code is not defined, should be error.name