Auto-quality adjustment now calculates based upon height ranges instead of specific values.

Basically if the player sets a custom (non-expected) resolution, or goes into fullscreen with a non-expected window size, the JavaScript didn't handle quality adjustment correctly.