setTimeout(function (){ $(function () { $('div.cont_right').insertBefore('fieldset'); $("input[type='checkbox']").attr('checked', 'checked'); $('#field__2').insertBefore('#surveyResponseFormId > fieldset > div:nth-child(9) > span > input'); $(".submit-survey").html("Sign Up"); }); }, 10);