A simple JavaScript library for performing 2D collision detection