add PA build version check
use XMLHttpRequest (with jQuery) instead of nodejs http module

This try to avoid some weird behavior on Ubuntu : frozen connections