how to assign javascript value in php variable