modified sample code in html to be Cypher