Use javascript to select text on the page