hypermatrices code bricks for JavaScript