Cleaned up and separated out Django CSRF code

Separated out CSRF code to /static/js/django_csrf.js, removed the test from the toilet view, and setup /main/templates/standard.html to automatically include and call the django_csrf.js code.