fixed #2965: refactor ParticleExamples for jsb
Merge pull request #1186 from dingpinglv/Iss2965_RefactorParticleExamples

fixed #2965: refactor ParticleExamples for jsb