Php Remove First Element Of Array And Object In Js