title: Capturing map from wikimapia.org with PhantomJS results in Parse Error
body: <p>I have read few posts on this topic, but they are not very specific to my need. Thats why i am asking. I am using linux with phantomjs installed.</p>
  
  <p>I have a wikimapia.org (maps site similar to google maps). I want to open the url <code>"http://wikimapia.org/#lang=en&amp;lat=13.34674&amp;lon=74.748418&amp;z=18&amp;m=m"</code> with phantomjs. So i tried the following code <code>test.js</code>.</p>
  
  <pre><code>var page = require('webpage').create();
  page.open("http://wikimapia.org/#lang=en&amp;lat=13.34674&amp;lon=74.748418&amp;z=18&amp;m=m", function(){
      setTimeout(function () {
          console.log(page.content);
          page.render("screen.png");
      }, 5000);
  });
  </code></pre>
  
  <p>Then I run: <code>phantomjs test.js</code> Also it generated screen1.png neither shows the desired map, instead shows a loading icon. There is also an error shown:</p>
  
  <pre>
  SyntaxError: Parse error
  TypeError: 'undefined' is not an object (evaluating 'ns.Utils')
  </pre>