Update line.class.js
Update line.class.js

Add missing spaces ( strange that  travis didn't bother me )
Merge pull request #1714 from asturur/fix-lines

Fix for line toObject method.