Load content of main page via Javascript to reduce payload size

Not pushing directly to master because I need someone to double-check me on this. Also we should move CC logo to the top.