Utility library for 2D JavaScript games