Update curvedLines.js

small typo