The Fakelink module allows you to create '#' links for use with javascript functions. Simply enter route:<fakelink> as your link and it will transform your href to "#".