Update line.js

renamed property