resolved #19: should return instances wired to a given element

also some additions of JSDoc 
sounds good. I will update the function