adds javascript oop example for car