Made hack for firefox pagereload issue.