Unpack html source into elements