Ported TiledSprite Extension to JS Platform.