changed html-deltas to use array-notation