Fixed equality checking of FORM tagName
Fixed trailing whitespace