Jquery with Javascript to move up in JavaScript

<script src="js/jquery.js" type="text/javascript"></script>
<script src="http://code.jquery.com/jquery-1.7.2.js"></script>
<script>
$(document).ready(function() {
  $("a[href*=#]").bind("click",function(event){
    event.preventDefault();
    var target = $(this).attr("href");
    $("html, body").stop().animate({
      scrollTop: $(target).offset().top
    }, 1500,function(){
      location.href = target;
    });
    
  });
});