Update and rename LayoutInvalidate.js to legend_basic