It seems I needed another backslash at the end. All working now. Only problem is when I close the file down and open it up again, I'm getting the same warning as mentioned in a previous post, ie.
Widget: var Contact_us_group_nbsp_Spry = new
Is this because I added the custom stripslashes code?