Scrap AJAX call because of cross domain issue and do request with php.