js single placement in each box