Add respond_to html and js