add icon and dropdown for top-tool-bar.
optimize js.