This is code to redirect web page traffic from http to https ( secure web )
To reference this javascript file use the following in the head of your webpages
<script src="./redirectToHttps.js"></script>
Place the redirectToHttps.js file in the same directory as this script tag