Datacart JS cleanup:
- extraneous alert messages eliminated
- global functions converted to ESGF.datacart namespace