I wrote this off setup_pg(which is also in js) -- I thought it'd be weird to have one setup in coffee and another in js.