Added JS for batch creation.