update data model, basic js working again