Fixed bug in active link colour being retained on exit

by removing all active links on initial entry to the else statement
$('#primary-nav a').removeClass('is-active')