After removing hash from URL using window.location.hash=\'\' page getting reloaded in firefox.
window.location.hash=\'\'
EDIT
Example:
wwww
We can remove/escape from appending the hash by returning false in click function.
Add Card