Ed,
Joomla 2.5 is more restrictive about the filtering it performs on that text, so that method won't work anymore. The newer versions of JFBConnect have a simple setting in the SCLogin module where you can choose to use a custom image, custom text, or the Javascript button. The Javascript button is the default, but doesn't work in a RokBox.
If you aren't planning on upgrading, then you'd need to add that code to your template or some other method of preventing Joomla from stripping the code. The new releases definitely make using a custom button easier as well as have tons of new features over the 4.0 series. The most exciting is the
Open Graph Actions for Joomla
support, which makes promoting your site much easier by letting your users do it for you.
Hope that helps,
Alex