Nicer API to get framework from DOM data