phantomjs: use diff instead of patch