← Back to career

NICE Information Service · Platform Business Office

Restructuring the identity verification module frontend

Rebuilt the 7-carrier verification screens into one flow that calls only the selected carrier, cutting verification API calls by over 90%. Font cleanup also cut LCP from about 3s to around 1s.

Scope
Three carriers and MVNOs, 7 carrier verification screens
Result
Verification API calls down 90%+ · LCP about 3s → around 1s
Tech
JavaScript ES6 · jQuery · HTML5 · CSS3 · JSP environment · Git

Results

I managed authentication flows for each carrier in a shared structure and improved how fast the initial screen appears to users.

  • Replaced a structure that rendered all 7 carrier screens and called the API 7 times with one that calls only the selected carrier, cutting API calls and their cost by over 90%.
  • Made carrier spec changes a configuration edit, and this structure is still in use after I left.
  • Cleared leftover timers on screen change to fix screens that slowed down over time from missing clearTimeout calls.
  • I changed the globally dependent structure into a component structure, laying the groundwork for maintenance by feature.
  • I organized the execution flow through per-feature initialization and event delegation.
  • I separated step conditions from screen presentation with state-based UI.
  • I improved handling that had relied on guessing timing by detecting DOM changes.
  • I removed jQuery and duplicate font resources and improved LCP from about 3 seconds to the 1-second range.

Problem definition

Per-page scripts and multiple web fonts were making maintenance and initial screen display difficult.

  • Logic based on jQuery 1.10 was wired globally, so code dependencies grew whenever features were added.
  • The execution order of individual scripts and global dependencies made initialization hard to manage.
  • Events were not applied to dynamically created elements, or were bound more than once.
  • The terms, input and verification steps were scattered, so branching and state management grew more complex as conditions increased.
  • Timer-dependent DOM handling and multiple web fonts affected screen stability and rendering.

How I solved it

See the full process

01I separated the scope of change into feature components.

  • I removed the jQuery dependency and rebuilt the verification form on plain JavaScript ES6 classes.
  • I separated event handling, state and DOM manipulation, and managed code by feature.
  • I moved from a structure where global scripts had to be changed together to one where each component can be changed on its own.

02I unified initialization and event handling.

I initialized the needed features on DOMContentLoaded and handled dynamic elements through event delegation. This reduced event bindings scattered across pages and dependencies on execution order.

03I managed verification steps as explicit states.

I separated the terms, input, verification code and completion steps to make screen transition criteria clear. I grouped agreeing to all terms and to individual terms into shared logic, and connected input state to moving to the next step.

04I controlled the screen based on actual DOM changes.

Instead of waiting a fixed time, I detected the moment of change with MutationObserver. I ran follow-up handling such as focus according to state changes in the verification area, and used input events to give screen feedback based on whether a value had been entered.

05I improved rendering with state classes and a single subset font.

  • I expressed open, hidden, active and error states as CSS classes, and set JavaScript to handle only state transitions.
  • I consolidated NotoSansKR, Spoqa Han Sans and Open Sans into Pretendard Subset.
  • I reduced font resources with the WOFF2 format and only the needed character ranges.
  • I applied font-display: swap and preload to improve text display and font loading priority.

My role

I was responsible for developing identity verification screens for partner services of the three mobile carriers and MVNOs, UI publishing, and redesigning the frontend structure.

See role details

In a JSP-based environment, I organized the user flow from agreeing to terms through entering details, entering the verification code and the completion screen into a shared structure, and also improved the jQuery-dependent structure and initial rendering problems.

  1. Agree to terms
  2. Enter user details
  3. Enter verification code
  4. Complete

Retrospective

I gained a working principle: even in a legacy environment, structure and performance can be improved by separating their bottlenecks.

On complex verification screens, defining the boundaries of state and responsibility mattered as much as adding features. I looked at code responsibilities and resource loading structure before deciding whether to adopt a framework, and I carried this experience into component design and performance optimization decisions in later React projects.

Let's talk about working together.

Please send hiring and collaboration inquiries by email. I can also send a detailed career description on request.

Email
minsangwork0821@gmail.com
GitHub
github.com/MinsangKwak
Service
a11y-lens.minsangkwak.com