Maybe this will help with csrf in AJAX views