Fix definition() in linked.js (non-numeric id)