Geometry Shapes in JS OOP