Changed variables in dogs.js to Dog class name