Javascript CSRF Prevention - A very simple example how to use javascript to prevent CSRF and resource abuse.