The problem is this part:
var target = "#" + $(this).data('target');
$('html, body').animate({
scrollTop: ($(target).offset().top - 150)
}, 1200);
Your $(target)
selector is selecting an element with the id
attribute of either description or specs, however in your code you have no elements with those IDs. Instead you have elements with those href
attributes, which you can select instead using:
var target = $(this).data('target');
$('html, body').animate({
scrollTop: ($('[href="' + target + '"]').offset().top - 150)
}, 1200);
Also rather than calling:
self.addClass(className).siblings("."+className).removeClass(className);
You can simply:
$('.active').removeClass('active');
$(this).addClass('active');