Get handles to all DOM nodes needed in JS