js new provider