Update line.js

cleaned up returned object of getFormattedLine