Added the javascript call for get recommendation