javascript-html5-tutorial - code examples