How to increase Discourse avatar resolution with JS?

From what I see in
public/uploads/default/optimized/1X/
there are 16 copies of each uploaded avatar ranging from 20x20 to 360x360
Notice the end of the file names. It might be easier to use the largest?