fixed cross-browser issues in headerOnLoad
merge 13.06 into 13.09
Merge branch '13.09'