PROV-869 missing variable definition - JS error on browse

see http://clangers.collectiveaccess.org/jira/browse/PROV-869 and #90