a (particularly dumb) tool to extract on* handlers from a supplied HTML document