Remove uses of &mut JSRef

Since everything with JSRef happens with interior mutability, it doesn't
make any sense to use an &mut JSRef.