experimenting with js Classes and prototype patterns