Reuse static toolbar button DOM nodes

Instead of generating new HTML nodes, existing button nodes are detected and the button widgets
are initialized on top of these nodes.

Change-Id: Iecafe159f4f9dbd60f658222745e10ffaa231f36