Requests return Javascript Errors
Added test and doc
Merge pull request #33 from gflandre/fix-errors

Requests return Javascript Errors