Prevent userscript from dying when seeing an invalid line from a script.
Merge pull request #689 from gitarzysta/master

Prevent userscript from dying when seeing an invalid line from a script.