More refactoring, .html .css and .js cannot be in the same folder due to security issues

.js and .css need to be reconnected for a lot of the pages