A framework for building 2D platform games with HTML 5