Wrap option and value setting in a document.ready to make sure that the slider has been initialized first.