Growth–share matrix (BCG-matrix, Boston matrix) JavaScript implementation