prepare branch jquery