Macro updates from upstream
Use Ajax to retrieve ethernet state, makes the page load faster