always invoke analysis init() method if present
Handle input JS files with syntax errors.

This can happen in weird situations.  Just copy over the file
without instrumentation if it does.