JS object oriented programming realization.