Remote hashtag from close button

Remove hashtag from buttons. When we click on it on a 1 page web application (using javascript framework such Ember or Backbone), it redirects to the main page instead of staying on the current page.