added like functions and JS. Implemented Trending Function