lines.length is a property, not a function; fixed #61