HTTPS fix, close click event fix, Bootstrap navbar fix

This version autodetects http vs. https and calls event.preventDefault() when the close button is clicked so a '#' doesn't appear in the URL bar. This also increases the z-index so that Bootstrap's default navbar is properly covered. I'm using this on my own site (https://kfalck.net).