Example - Java script to fetch a page