Updated gear.js to account for the most recent fixes.