navigating through the whole HTML documents for actions via JS