Update line.class.js

Don't ask, i don't know.