Updated line.js to prototype from grid_functions.js