// Attach the CSRF token to every state-changing jQuery request. // // Applied at script-execution time, NOT inside $(document).ready(). That matters: pages carry // inline