javascript check if element exists on page