The Miami Dolphins had their defense to thank as they saw off the St Louis Rams 17-14 to join their beaten opponents on a 3-3 record for the season.