Port of OpenSteer to JavaScript