how to get table row value in javascript