docs(provider): replaced coffeescript with comparable javascript example