Renamed the scripts that shouldn't be called stand-alone, prefaced by two underscores.
Added e.preventDefault() so clicking on anchor links doesn't interfere with scrolling.