added favorite.js