added motor.js