arrangement js