Update JS macro docs