Updated code examples form HTML-syntax to javascript

Wow.. these readme files are really annoying