While Loop Array Javascript Documentation Tutorial Photoshop