Tweak phire.js