Browser crashing when the site is viewed in Firefox