Cleaned up favlist.js a bit