A generic JavaScript physics utility set.