Fixed javascript ExecJS problem