Fixed PhantomJS browsing and fixed cookie issue and also removed some comments