[-] FO : Products comparison: baseUri added to ajax url

The baseUri was missing so in multilanguage installations, the requests where pointing to http://www.example-domain.com/fr/index.php?...
I also changed indentation of some code to comply with your coding standards.