Commenting out code that way broke msie, only worked in Chrome