write PIXI in global scope