Fixed the JavaScript for the tags buttons in the Photos#index page.