Fixed a bug in the javascript for NonRdfResource link clicks.