Closed #2762: Refactor CCSimpleAudioEngine.js for code maintainability

Refactor CCSimpleAudioEngine.js for code maintainability