Drop dynamics on the beads-on-string structure for viscoelastic jets: A numerical study