js for create child versions