added console.log for IE
Merge pull request #4 from t-fujiki/master

added console.log for IE