remove unused ajaxCSRFfix
add code for playing with endf files