fix ratio, cut update

I have tried it on on an Android device and iPad Chrome/Safari and it works for me. I don't remember where, but safari log output is somewhere in Settings, I guess!