refactor pomelo.js
Merge pull request #472 from xieren58/master

refactor pomelo.js