bug fix - corrected reference error to captionAttribute from slider.settings object / bug fix - declared title variable in appendCaptions() functions and retooled if statement