* Fixed memory leak when using PhantomJS