cosmetic improvements for the csrftoken ajax fix