doc(readme): document error/success behavior

Added a warning about invalid ajax configuration options.
Merge branch 'pr/29'

Fix #29