finished car example for oop with JS and Php