Update arc.js

one variable less, some 2 multiply less.