method addJsFile() was added