title: phantomjs+express not working and get errors
body: <p>This is my app.js that performs web scraping:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var fs = require('fs');
  var path=require('path');
  const express = require('express');
  var phantomjs = require('phantomjs')
  const phantom = require('phantom');
  
  server.post("/"  ,async (req,res) =&gt;{
  const instance = await phantom.create();
      const page = await instance.createPage();
  await page.open('mytestwebsite.com', function(status) {
  data = page.evaluate(function(){
  a = document.getElementsByClassName("class1").innerText;
  b = document.getElementsByClassName("class2").innerText;
  return data= {
      a,
      b,
  }
  });
   console.log(data);
  instance.exit();
  });
  });</code></pre>
  </div>
  </div>
  
  I am getting the following error:</p>
  <pre><code>info: SyntaxError: Unexpected token ',' 
  info:   undefined:7 in Function  
  info:   phantomjs://code/index.js:315  
  info:   :0 in parse  
  info:   phantomjs://code/index.js:307 in read  
  </code></pre>