missing var in js
Merge pull request #371 from EUDAT-B2SHARE/js/varbug

missing var in js