reverse previous changes to model .js files