define checkAnim() before using it
Merge https://github.com/cocos2d/cocos2d-x
Merge https://github.com/cocos2d/cocos2d-x
remove js files from compiling
Merge https://github.com/cocos2d/cocos2d-x
fixed #2084:add lua loader for all platforms
Merge pull request #2461 from minggo/lua-loader

add lua loader for all platforms