Also factor out LIMIT constant
Instead of getting a list of max weights, then looping in JS to run SQL queries for max reps, use a subquery.
I was considering adding weight tracking, so then this graph page would include body weight graphs. Meaning it's not really recording the "best" of anything. It currently only shows the best on the list page anyway.