Fixed bug in JS regarding Raw-id link widget.