Introduced G.js class from existing code