Php Delete First In Array Javascript Example