Fixed require web3 bug

Fixed error "Cannot find module './web3'" in autoprovider.js