Update phantom-script.js