add redirect_uri to the js so that it woks the same in development or on heroku