fixes issues with placeholders getting cleared on IE8/9 on javascript hrefs via the onbeforeunload

credit to @Schlogen. just moving it to the on ready block so it can bind on elements when they are present.