fix browser bugs on docs index page