~~  remove isJsNewLine method

Seems that TokenStream always checks line termination by comparing with \n
~~ better js function pattern
~~ quotes count fixup
~~ removed positions list in favour of two fields
~~ restore exception (TODO fix cause of throw)