Fix for Android before load missed  event.

Fix for Android missed `onpopstate` event before `onload` event. 
https://code.google.com/p/android/issues/detail?id=12226