renamed Request::csrfTokenName to csrfVar. added version, csrfVar and csrfToken to yii js module.
Modified js registration position.