changed getusermedia namespace to navigator