This is my Physics Engine written in Javascript. It is separated into parts so you can pick and choose what you need.