some fixes for stuff that doesn't work on android browsers