Refactored huge cart js to individual class/IIFE files