fix tests
extract java_parser.ltp
generation options: expandTabs, forceLF and outputEncoding
use expandTabs for js templates
js_parser template; jsregex test/example
jsregex lexer tests; remove old js templates