removed unneded string in data table
loading javascript now page-specific
moved some legacy code around