added example.html to show usage - close #3