Data Preprocessing Functions In Javascript Examples