macro summary js