Updated for phantomjs 1.9.7 + ReSharper 8.2 EAP