Python Change Array Value Javascript Documentation