Removed console.logs, small optimization and updated README.md.