fixed createNode and getNodesForWidget
added doc to getSiteNodesForWidget