educational object oriented javascript