Removing console log to make it work with old IE