javascript can get favorites