Refine Classic.js structure