Adjust pageload mask to work better with older browsers