fix site was crashing in mobile webkit
copy changes