If String Not In Array Javascript Length Function