brickred javascript library