Empty Array Length Javascript Code Compiler Html