javascript component of coaching carousel project