Fixed #55. Get rid of a few console.log/dir.
Merge pull request #56 from yeukhon/issue55

Fixed #55. Get rid of a few console.log/dir.