Add timeout to fix hash links in Firefox