Fixed #2072 optimize performance for javascript
Merge branch 'master' of cocos2d-js-tests into Iss2072_JSPerformanceImprovement
fixed #2072 replace deprecated function name with new function name
fixed #2072 use Rect.x/y, Rect.width/height replace Rect.origin.x/y, Rect.size.width/height
Merge pull request #168 from dingpinglv/Iss2072_JSPerformanceImprovement

Fixed #2072 optimize performance for javascript