Mobile fixes for dotstorm

 - fix iOS crash for safari 4.3.3
 - fix Android 4.0.x buggy pushState support