added js about getting table line