fix save in js
Merge branch 'cocos2dx-v2' into cocos2dx-v2-jandusoft