fix getusermedia
fix js 2