Prevent data tables from being reinitialized, and remove unnecessary code from load event