anexar antes do jQuery
$( "h2" ).insertBefore( $( ".container" ) );
Friendly Flamingo
$( "h2" ).insertBefore( $( ".container" ) );
$('ElementBeforeYouWantToInsert').prepend('<div>the element you want to insert</div>');