Js Array Push If Not Null Mysql W3schools