An application framework for canvas that works with Pixi or CreateJS