Example use of open() in index.html