modified data set and testing basics in js file