Added some horrible regex when there wasn't enough nicely formatted html to jquery onto