Removed the code for IE6 as there's no need to support