added an onMousePressed method to index.html -- should repeat for other circles too