Move node reference collection into the window scope
Add bookmarklet script. Refs #1