Updated brickpi.js to generate proper motor servo code