csrf token name made configurable

#Modification:
initially `csrftoken` name was fixed, now made configurable. Whenever a
token name is replaced, new version of js file is created, like `GET`
rules.