Port of Chipmunk Physics to Javascript