Changing dependency URL for Heroku
Added require onError