Php Empty An Array Javascript Function How To Use