// check if needs to add "var actions=" line before '{' to prevent jslint parser errors
JsonStreamReader jreader = new JsonStreamReader(sourceCode);
jreader.setRecursiveReadEnabled(false);
// skip comment and whitespace
JsonConstant token = jreader.next();
int lineOffset = 0;
JavascriptProcessingError customError = null;
if (token == JsonConstant.OBJECT_START) {
// fix, but report a ValidationError also
int charNum = jreader.getCharNum();