Moved if(IE9) {removeElements... code to the end of the JS function (all screens)