moved injection code
refactoring of loading js and css files
now inserts old table data into new table
formatted code