Edit pg.js