added documentation and console fix for ie