[arctic] - Refactor actic.js.