Jquery Check Array Empty In Javascript What Is A Block