Experiment with HTML fragments

So implementing HTML fragments was pretty easy, but it basically
destroyed my CSS. But that's ok because I got to see how shit it is. So
now it's fixed. But js behaviour needs to be fixed as well.