title: Failed to Parse Error - What's wrong?
body: <p>This is the line with the "Failed to Parse Error" -> var label = package.getComment() &amp;&amp; package.getComment() : 'N/A'</p>
  
  <p>The rest of the code...
      var script = '/home/paulomacedo/jd2/JD_HOME/jdownloader-postprocess.sh'</p>
  
  <pre><code>var path = package.getDownloadFolder() 
  var name = package.getName() 
  var label = package.getComment() &amp;&amp; package.getComment() : 'N/A' 
  var links = package.getDownloadLinks() ? package.getDownloadLinks() : []
  
  function isReallyFinished() {
      for (var i = 0; i &lt; links.length; i++) {
          if (links[i].getArchive() != null &amp;&amp; links[i].getExtractionStatus() != "SUCCESSFUL" || !package.isFinished()) {
              return false
          }
      }
      return true
  }
  
  if (isReallyFinished()) {
      var command = [script, path, name, label, 'PACKAGE_FINISHED']
      log(command)
      log(callSync(command))
  }
  </code></pre>