the builder for g.js