Removed some logging which caused IE to show javascript errors