Refactor clients' sectin JavaScript.