javascript to change the meal entries