Restrict scope of embedded JavaScript

Should match every proper case now:

- lower case / upper case
- single and double quotes and leaving quotes out (see HTML5 spec) after the type attribute
- without type attribute (defaults to JavaScript as of HTML5)

Closes #22