code: private function getFileName($language)
      {
          if ($language === $this->baseLang) {
              return $this->baseDir . $this->pageName . '.js';
          } else {
              return $this->baseDir . $language . '/' . $this->pageName . '.js';
          }
      }
docs: Returns the name of the file containing the texts.
  
  @param $language
  @return string