Javascript version of OpenPixi