add 2 files
poll client php, javascript error handling