get js side displaying table