Updating Jquery value call to modern JQuery