example of accessing elements of js.Dynamic.global.Array