fix browserify tripping of empty array elements