Looks like you gave your players plenty of warning, they just got a little careless. You do that at low levels your going to get creamed. Sounds like that had a brutal but exciting encounter, and have probably learned from it. I consider your encounter well played.