How To Know If An Object Is Empty Javascript