Fix for FlxTilemap.loadMap() on js