trying to access js arrays