added arctext.js, small changes