fixed data i/o between javascript and php via .htacess