refine javascript
return devicefile and label in enumerateCandidates
add missing fields
don't forget to set the mntentref when expanding