added some js to the html and created dummy object function