Prova cosi
codice:
$(document).ready(function(){
$("#button").click(function(){
  $("#container").animate({
    top: '30px',
    height:'400px',
    width:'944px'
  }, 3000, function(){$(this).effect( "shake" )});
  
 });
});
Fermo restando che dovrai caricare come diceva Xinod la libreria jquery-ui