com.ibm.jscript.InterpretException: Script interpreter error, line=45, col=11: 'doc' is null