Updating grammar forms in JS model.