Rewrite js functions to decrease the loading time for Browse Courses
Merging