{"issue":{"created_at":"2011-09-03T17:01:59Z","state":"closed","updated_at":"2011-11-27T20:42:13Z","comments":4,"user":{"gravatar_id":"48a313e2ad9f47036b3a4d073cef3e54","id":197597,"url":"https://api.github.com/users/vjeux","login":"vjeux","avatar_url":"https://secure.gravatar.com/avatar/48a313e2ad9f47036b3a4d073cef3e54?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Hello,\r\n\r\nI'm trying to login into Facebook with Zombie.js but it throws a ```SyntaxError: Unexpected identifier``` error in the process. I have carefully checked, I fill the good textboxes and press the good button.\r\n\r\nIs there something that I missed or is something broken in Zombie.js?\r\n\r\nThanks!\r\n\r\n```javascript\r\nvar zombie = require(\"zombie\");\r\n\r\nvar browser = new zombie.Browser({ debug: true });\r\nbrowser.visit(\"http://www.facebook.com/\", function(err, browser, status) {\r\n\tbrowser\r\n\t\t.fill('#email', 'christopher.chedeau@gmail.com')\r\n\t\t.fill('#pass', 'scrapeme') // The password is correct, I'll change it when the issue is fixed\r\n\t\t.pressButton('#login_form input[type=submit]', function(err, browser, status) {\r\n\t\t\tconsole.log(err.stack);\r\n\t\t});\r\n});\r\n```\r\n\r\n```\r\nZombie: GET http://www.facebook.com/\r\nZombie: GET http://www.facebook.com/ => 200\r\nZombie: GET http://static.ak.fbcdn.net/rsrc.php/v1/yq/r/346Pl_u5ziA.js\r\nZombie: GET http://static.ak.fbcdn.net/rsrc.php/v1/yq/r/346Pl_u5ziA.js => 200\r\nZombie: Firing interval 1, interval: 20\r\nerror: Dispatching event 'submit' failed. - More:\r\n[object Object]\r\nerror: Dispatching event 'submit' failed. - More:\r\n[object Object]\r\nZombie: POST https://www.facebook.com/login.php?login_attempt=1\r\nZombie: GET http://www.facebook.com/\r\nZombie: GET http://www.facebook.com/ => 200\r\nZombie: GET http://static.ak.fbcdn.net/rsrc.php/v1/yq/r/346Pl_u5ziA.js\r\nZombie: GET http://static.ak.fbcdn.net/rsrc.php/v1/yq/r/346Pl_u5ziA.js => 200\r\nSyntaxError: Unexpected identifier\r\n    at Object.javascript (/usr/local/lib/node/.npm/zombie/0.10.0/package/lib/zombie/jsdom_patches.js:135:21)\r\n    at Object._eval (/usr/local/lib/node/.npm/jsdom/0.2.4/package/lib/jsdom/level2/html.js:1282:46)\r\n    at /usr/local/lib/node/.npm/jsdom/0.2.4/package/lib/jsdom/level2/html.js:44:20\r\n    at Object.check (/usr/local/lib/node/.npm/zombie/0.10.0/package/lib/zombie/jsdom_patches.js:100:11)\r\n    at Object.check (/usr/local/lib/node/.npm/zombie/0.10.0/package/lib/zombie/jsdom_patches.js:106:30)\r\n    at Object.check (/usr/local/lib/node/.npm/zombie/0.10.0/package/lib/zombie/jsdom_patches.js:106:30)\r\n    at Object.check (/usr/local/lib/node/.npm/zombie/0.10.0/package/lib/zombie/jsdom_patches.js:106:30)\r\n    at Object.check (/usr/local/lib/node/.npm/zombie/0.10.0/package/lib/zombie/jsdom_patches.js:106:30)\r\n    at Object.check (/usr/local/lib/node/.npm/zombie/0.10.0/package/lib/zombie/jsdom_patches.js:106:30)\r\n    at Object.check (/usr/local/lib/node/.npm/zombie/0.10.0/package/lib/zombie/jsdom_patches.js:106:30)\r\nZombie: Firing interval 1, interval: 20\r\n```","assignee":null,"number":167,"id":1558637,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Cannot login into Facebook","closed_at":"2011-11-27T20:42:13Z","html_url":"https://github.com/assaf/zombie/issues/167","milestone":null,"url":"https://api.github.com/repos/assaf/zombie/issues/167"},"action":"created","comment":{"created_at":"2011-11-27T20:42:13Z","updated_at":"2011-11-27T20:42:13Z","user":{"gravatar_id":"a62b87a36bfc29a7207bc73f3aac960b","id":5158,"url":"https://api.github.com/users/assaf","login":"assaf","avatar_url":"https://secure.gravatar.com/avatar/a62b87a36bfc29a7207bc73f3aac960b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Seems to be logging in, just complaining about syntax errors.","id":2889941,"url":"https://api.github.com/repos/assaf/zombie/issues/comments/2889941"}}