If Not Empty Array Javascript Documentation Tutorial Dojo Review