Port of https://github.com/gmoledina/GMGridView for cocos2d-js