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
Removed charset on inline script tag

See [this article on html optimization](http://perfectionkills.com/optimizing-html/#8_script_charset) for the rationale on this.
Merge remote-tracking branch 'upstream/master'