The "Palette" in this sample is not a Palette (or GoJS control) at all. It is a collection of HTML elements with draggable attributes using the HTML Drag and Drop API.
This sample lets you drag these HTML elements onto the Diagram to create GoJS nodes.