Don't call options or values on slider until the document is ready (and the slier has been initialized).