fix csv header spaces
add jquery document ready