JS logic in for talent app