Removes extra whitespace in model.js