Saves elements attributes, changes the way the script checks for block elements