Fix favicon disappearing in Firefox

Fix favicon disappearing in Firefox when setting location.hash
See bug #3448485
Renamed function to fit camel case methods naming.
Merge pull request #218 from phpfaber/master

Fix favicon disappearing in Firefox when setting location.hash