fixed the creation of virtual users in js