fix asset paths

Fix for numerous issues with JavaScript and CSS paths not working. This will make the site look and work better.