js arrangement