Basic working code in HTML demo page.