How can I create a lookup field to the userRole object

Talking about arrays and objects like a real pro, no more javascript rookie!