Use JS read XML to draw