Update line.js

add arrowText
add width and height control