fixed jshint errors; added user-agent to fix providers that need it (like spotify)