Remove JQuery from internal routines

ADDED: TableID string to name the table