improve addvar js and receiveData.php file append