BISERVER-10812 - Javascript variable not correctly initialized causing Browse perspective to not load.

set currentItems to empty array initially
Merge pull request #1347 from aliakseihaidukou/BISERVER-10812

BISERVER-10812 - Javascript variable not correctly initialized causing B...