modify script and link href for file protocol

use non-minified css and js versions of the file when site is viewed
locally by checking location.protocol and modifying href for link and
script tags