Numpy Structured Array Indexing Javascript Map Example