Fix url bug with add dog
Fix url bug in add-dog.js