 Jack (the monkey) is seen "smiling" when Barbossa thanks him  specifically after he returns the Aztec coin to him after Jack  Sparrow chases him. In the special features on the DVD it is  revealed that the monkey did this purely by chance and it was not  planned out in any way.