Node service to work on DOM documents