first table built in javascript and created document ready