js: Finish servo and DC motor classes