Javascript If Array Is Not Empty In Google