refactor(args-js): replace static js w. npm package