Common JS functions, sample data sets