Only set DEVTOOLS_INJECTED_SCRIPT if successful response

Fixes #41 (probably)