A lightweight mock DOM