优化bridge.js
Merge pull request #76 from liaoxuezhi/dev-refactor

优化bridge.js