refactor to use htmlunit