very small javascript update. modified jQuery anonymous to SEAF

Turned unload jQuery function to a SEAF