add some more information in errors that we get in the javascript. fixes #24
Merge pull request #31 from compose/clearer_errors

add some more information in errors that we get in the javascript.