using span with css instead of img

using span instead of img to avoid problems with relative paths.

I was trying to use the converse.js on different urls but the html was trying to get the spinner.gif in diferrents paths so the image wa broken. Changing to css using span was a way to fix this problem and show the spinner all over the system.