integrating translate.js into results page