Lines refactor in JLex implementation