Use pg.js instead of pg

Hello,

pg does not build correctly on some platforms and @brianc recommends to use pg.js instead (which is basically the same package but in pure JS).

Regards,