A stable collision engine written in JavaScript.