joins attributes that work with most browsers