adding js madness, pixi style