Found the Solution to my problem. Firefox doesn't allow your XMLHttpRequest to access cross domains to fetch data. Hence, in order to by pass this minor security check, add the following header to your XMLHttpRequest REPLY from the server:
Access-Control-Allow-Origin: *
Once your Client side XMLHttpRequest see's this header in the server's response, it proceeds on by forwarding the request to the server.