read_g.js