converted page to single page app
adding dynamic table.js and assignment 6