modified models
implement format data using javascript