Fix a javascript error while adding a new newznab provider 

Fix a javascript error while adding a new newznab provider