I think you are missing the "#" sign, that jQuery needs to interpret uniqueDivId as an id.
jQuery('#' + uniqueDivId.value).toggle();
http://stackoverflow.com/questions/743994/how-do-i-select-an-element-in-jquery-by-using-a-variable-for-the-idhttps://stackoverflow.com/questions/743994/how-do-i-select-an-element-in-jquery-by-using-a-variable-for-the-id