Annotation by node: simplify JS, and remove unneeded input field