Can anyone help me with the camera movement using javascripting to me and my requirement are as follows ?

 

When i click a button my camera need to move towards the object and should revolve around the centre of axis of the object as shown in the video