Update parser and unit tests to correctly parse a comment in a script element. Addresses issue 46.