bugfix lib js advertising