remove code that break in Safari

I removed a part that was breaking Safari if the page was too long.