General purpose grunt task for dom reading and manipulation