Drawing LINE on browser from txt