Initial ajax fix + prettification