It whould be better to modify "CClentScript::registerScriptFile()" adding third parameter for the additional HTML options.