update functionRegisterJsFile

Yii::$app->getView()->registerJsFile only can be 3 params,