Update README.md
added some error handlers and  getElements method