Fix a typo bug: prorotype
Add info and dir methods for old IE/browsers without console and map them to log.