Golang Insert Into Array Javascript Methods For Querying