remove serialization option for instrument.js

Instead, support a callback function that can do as
it pleases with the instrumented code.
Allow for passing input file name to instrumentString.