Fixed errors in browser

I shouldn't have copied it straight from doujin-db.py, but I did