Quick example of properly create a "class"

Javascript doesn't use class based inheritance but a prototype based on using functions.