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

...rowse perspective to not load.

set currentItems to empty array initially