build(apply): modernize apply.js (reverts part of adaa126)
build(apply): modernize apply.js (reverts part of adaa126)

fr34k8/copay,matiu/copay,cmgustavo/copay,matiu/copay,cmgustavo/copay,matiu/copay,msalcala11/copay,cmgustavo/copay,gabrielbazan7/copay,cmgustavo/copay,gabrielbazan7/copay,msalcala11/copay,fr34k8/copay,fr34k8/copay,gabrielbazan7/copay,gabrielbazan7/copay,fr34k8/copay,msalcala11/copay,msalcala11/copay,matiu/copay