Changing href="#" to href="javascript:void(0)" where used.