Php Empty An Array Javascript Function Arguments