Remove uses of &mut JSRef

Since everything with JSRef happens with interior mutability, it doesn't
make any sense to use an &mut JSRef.
Merge pull request #3416 from zwarich/remove-jsref-mut

Remove uses of &mut JSRef