undo g2.js changes