Create gc1_refactored.js