Update JavaScript Macro docs