Get gag id and title from the homepage
Refactor recomm js files